﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ReasonM.aspx.cs" Inherits="CellAlarm_ReasonM" %>
<%@ Register Assembly="YYControls" Namespace="YYControls" TagPrefix="yyc" %>
<!DOCTYPE html>
<html>
<head id="Head1" runat="server">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>延安联通网络告警分析系统</title>
    <link href="../Content/MOrange/orange.min.css" rel="stylesheet" type="text/css" /> 
    <link href="../Content/MOrange/jquery.mobile.icons.min.css" rel="stylesheet" type="text/css" /> 
    <link href="../Content/MOrange/jquery.mobile.structure-1.4.1.min.css" rel="stylesheet" type="text/css" />   
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.mobile-1.4.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">$.mobile.ajaxEnabled = false;</script> 
</head>
<body>
    <!-- start page -->
    <div data-role="page">
        <!-- start header -->
        <div data-role="header" data-theme="a" data-position="inline" data-backbtn="false">
            <a href="../MDesktop.aspx" data-icon="home">首页</a>
            <h1 runat="server" id="Mtitle"></h1>
            <a href="../MobileLogin.aspx" data-icon="forward">退出</a>
        </div>
        <!-- end header -->
        <!-- start content -->
        <div data-role="content" data-theme="a">
            <form id="form1" runat="server" action="ReasonM.aspx" method="post">    
                <div data-role="tabs" id="tabs" data-theme="a">                    
                    <div data-role="navbar" data-theme="a">
                        <ul>
                            <li><a href="#one" data-ajax="false" class="ui-btn-active">上报</a></li>
                            <li><a href="#two" data-ajax="false">驳回</a></li>
                        </ul>
                    </div>                         
                    <div id="one" class="ui-body-d ui-content">
                        <p>
                            <asp:Label ID="Msg" runat="server" ForeColor="orange" Text="[当前无需要上报的断站原因]" Visible="false"></asp:Label></p>                    
                        <asp:Repeater ID="UnlinkList" runat="server" OnItemDataBound="UnlinkList_ItemDataBound">
                            <HeaderTemplate>
                                <ul data-role="listview" data-inset="true">
                            </HeaderTemplate>
                           <ItemTemplate>
                                <li><h3><asp:Label ID="CellChname" runat="server" Text='<%# Eval("CELL_CHNAME")%>'></asp:Label></h3>
                                <p>开始时间【<asp:Label ID="STARTTIME" runat="server" Text='<%# Eval("START_TIME")%>'></asp:Label>】</p>
                                <p>恢复时间【<asp:Label ID="RECOVERTIME" runat="server" Text='<%# Eval("RECOVER_TIME")%>'></asp:Label>】</p>
                                <span class="ui-li-count">                                                                
                                <asp:Label ID="CellClass" runat="server" Text='<%# Eval("CELL_CLASS")%>'></asp:Label></span>
                                <p><yyc:SmartDropDownList runat="server" ID="ReasonD" name="ReasonD" data-native-menu="false">
                                </yyc:SmartDropDownList></p>
                                <p><asp:CheckBox ID="IsTele" runat="server" Text="是否电信原因" /></p>
                                <p>备注：<asp:TextBox ID="Remark" runat="server" MaxLength="32"></asp:TextBox></p>
                                <asp:HiddenField ID="Net" runat="server" Value='<%# Eval("Net")%>' />                                
                                </li>
                           </ItemTemplate> 
                           <FooterTemplate>
                                </ul>
                           </FooterTemplate> 
                        </asp:Repeater>
                        <asp:Button ID="BtnSubmit" runat="server" Width="100%" Text="确认并上报" data-icon="check" OnClick="BtnSubmit_Click" /> 
                    </div>
                    <div id="two" class="ui-body-d ui-content">
                    <p style="color:Lime;">"驳回的基站断站会被重新加入未上报列表，当前页面仅供查看驳回原因"</p>
                    <asp:Repeater ID="OverList" runat="server">
                            <HeaderTemplate>
                                <ul data-role="listview" data-inset="true">
                            </HeaderTemplate>
                           <ItemTemplate>
                                <li><h3><asp:Label ID="CellChname" runat="server" Text='<%# Eval("CELL_CHNAME")%>'></asp:Label></h3>
                                <p>开始时间【<asp:Label ID="STARTTIME" runat="server" Text='<%# Eval("START_TIME")%>'></asp:Label>】</p>
                                <p>恢复时间【<asp:Label ID="RECOVERTIME" runat="server" Text='<%# Eval("RECOVER_TIME")%>'></asp:Label>】</p>
                                <span class="ui-li-count">                                                                
                                <asp:Label ID="CellClass" runat="server" Text='<%# Eval("CELL_CLASS")%>'></asp:Label></span>
                                <p>断站原因【<asp:Label ID="Reason" runat="server" Text='<%# Eval("MAIN_REASON").ToString()+"|"+Eval("SECOND_REASON").ToString()%>'></asp:Label>】</p>
                                <p>驳回原因【<asp:Label ID="OVERREASON" runat="server" Text='<%# Eval("OVERREASON")%>'></asp:Label>】</p>
                                <p>驳回人员【<asp:Label ID="EXAMINER" runat="server" Text='<%# Eval("EXAMINER")%>'></asp:Label>】</p>
                                </li>
                           </ItemTemplate> 
                           <FooterTemplate>
                                </ul>
                           </FooterTemplate> 
                        </asp:Repeater>
                    </div>
                    </div>
            </form>
        </div>
        <!-- end content -->
        <!-- start footer -->
        <div data-role="footer" data-theme="a">
            <h4 runat="server" id="MFoot"></h4>
        </div>
        <!-- end footer -->
    </div>
    <!-- end page -->
</body>
</html>
